﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AddRecipe.aspx.vb" Inherits="LondonItalianRestaurants.AddRecipe" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
    </p>
<h1>Add Your Own Italian Recipe</h1>
   
    <table border="1" width="100%" class="table">
  <tr>
    <th class="th">Details</th>
    <th class="th">Data</th>
  </tr>
  <tr>
    <td>Recipe Name</td>
    <td><asp:TextBox ID="tb_RecipeName" runat="server"></asp:TextBox><asp:RequiredFieldValidator
            ID="RequiredFieldValidator1" runat="server" ErrorMessage="Enter recipe Name" ControlToValidate="tb_RecipeName" ForeColor="red"></asp:RequiredFieldValidator> </td>
  </tr>
  <tr>
    <td>Cook Time</td>
    <td><asp:TextBox ID="tb_CookTime" runat="server"></asp:TextBox><asp:RequiredFieldValidator
            ID="RequiredFieldValidator2" runat="server" ErrorMessage="Enter Restaurant Address" ControlToValidate="tb_CookTime" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Serves</td>
    <td><asp:TextBox ID="tb_Serves" runat="server"></asp:TextBox><asp:RequiredFieldValidator
            ID="RequiredFieldValidator3" runat="server" ErrorMessage="Enter Restaurant Postcode" ControlToValidate="tb_Serves" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Difficulty</td>
    <td><asp:TextBox ID="tb_Difficulty" runat="server"></asp:TextBox><asp:RequiredFieldValidator
            ID="RequiredFieldValidator4" runat="server" ErrorMessage="Enter Web Address" ControlToValidate="tb_Difficulty" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Ingredients</td>
    <td>
        <asp:TextBox ID="tb_Ingredients" runat="server" TextMode="MultiLine"></asp:TextBox>
        <asp:RequiredFieldValidator
            ID="RequiredFieldValidator5" runat="server" ErrorMessage="Upload picture for list" ControlToValidate="tb_Ingredients" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Cooking Steps</td>
    <td>
        <asp:TextBox ID="tb_CookingSteps" runat="server" TextMode="MultiLine"></asp:TextBox>
        <asp:RequiredFieldValidator
            ID="RequiredFieldValidator9" runat="server" ErrorMessage="Upload picture for detail" ControlToValidate="tb_CookingSteps" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td>Recipe Picture</td>
    <td><asp:FileUpload ID="fup_recipe" runat="server" /><asp:RequiredFieldValidator
            ID="RequiredFieldValidator10" runat="server" ErrorMessage="Upload a MENU" ControlToValidate="fup_recipe" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  
  <tr>
    <td>Michelin Stars</td>
    <td><asp:RadioButtonList ID="rbl_MichelinStars" runat="server" 
        RepeatDirection="Horizontal">
        <asp:ListItem>1</asp:ListItem>
        <asp:ListItem>2</asp:ListItem>
        <asp:ListItem>3</asp:ListItem>
        <asp:ListItem>4</asp:ListItem>
        <asp:ListItem>5</asp:ListItem>
    </asp:RadioButtonList><asp:RequiredFieldValidator
            ID="RequiredFieldValidator8" runat="server" ErrorMessage="Select stars" ControlToValidate="rbl_MichelinStars" ForeColor="red"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td colspan="2"><asp:Button ID="btn_Submit" runat="server" Text="Add New Recipe" 
        Width="179px" /></td>
   
  </tr>

  
</table>

 
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
</asp:Content>
